Reopen window in maximised state (windows)

The mainwindow was not restoring to a maximised position if you close GC when maximised.

I have no idea how Macs/Linux handle this so I have made it Windows only.