Knock out some TODOs

A few small additions:

1. Terminal and screen `get-key-blocking` share more code
2. `get-key-blocking` accepts an optional map specifying an interval and timeout
3. `remove-resize-listener` has been added

I've tried to make an effort to match the existing coding and documentation style. Let me know if I can change anything else. Thanks!