creating main gui window