Improvements to debug window
- Saner keypress behavior
- Give introspection via `parent` object