Changed WindowFactory to non-singleton factory. Made Controller decoupled from ncurses/Window.