Fixes cursor error when main window is at increased size.
Implemented window_resize_gui.
Merge pull request #244 from duncanspumpkin/fix_cursor

Fixes cursor error when main window is at increased size.