Main window centers itself on screen.

Added the ability for the main window to be able to find the center of the screen and move it self to it.