Main window of the application

Sets up the general parameters of the window, the menu as well as the
contents of windows