fix status reporting bug

Host detection of end of script now works.
Add time tracking to simulator and update tests to check for correct
final position and time.