Added main window, keyboard movements