Added some centering methods to Rectangle.
Better detection of win32 main monitor.