Lotsa Stuff

Added more functionality for the Terminal, made the window and terminal
their own objects. Tried to multithread that crap. Didn't work.