Clean up statMonitor so it doesn't hold odd references to the input itself.
Fix shut down.