gui.py : Disabled window resizing for main window
* : Added more comments and refactored for readability