Added a main window, renamed to tkmain