Split Window and Renderer, remove notion of basePane from window.
Renamed Renderer to Window.
Deal with line endings.