This is actually quite a common mouse trick but I find it worth adding in my list of useful mouse tricks. If you want to close a Window just double-click on the Windows Logo on top left corner of your Window.
To maximize or restore the Window, double-click your mouse on the title bar.