Add some boilerplate

- DebugReceiver for subscribing to events and logging output
- termbox helpers