Things seem to work better now.. But, perhaps the _analysis_output should be #ifdef'd or something? At the moment it generates noticable I/O, so I changed it to be just a return in my local version.