added sdl window title

additionally:
- removed bogus debugging output
- added sdl quit event handling
  does not work correctly, crashes simulator, thus commented out.