No longer use Win32API for window resizing. This should work under all platforms that support window resizing.
Since most of the features that QMainWindow offered will never be used in this program. We don't need a statusbar, a menubar, etc.