Fix a fuckup in terminal_initialize. Implement stuff.

- scrolling
- newlines