raw_input fixes for kernel restarts

- fixes multiple event-registration causing duplicate messages
  after kernel restart.
- removes any raw_inputs hanging around that might have been left by kernel restarts.

closes #3710