Changed the minimize command to send the Windows message

The reason why is because some programs (GVIM/Chrome) override the Window
context menu, and thus trying to send the key command to bring it up was
being ignored. By sending the Windows message to minimize instead to the
active window, it gets around this problem.