Add lots of features, simplify some things internally

- Scroll bar
- Cursor and line editing functionality
- More shortcuts for navigating through history
- Display multiple results from a function call
- Simplify internals a bit