Debugging output from scheduler written to file. Recording written to file. Fixed a problem with segmentation fault in collecting relevant functions during analysis.