Added parameters to control the resizing and decoration (minimize, maximize/resize and close button on the top right corner) of the main window