made the simulator use unbuffered print so log files can be used for use...

...ful debugging