Added iconify, maximise and restore functionality to the Windows platform