Mac Opimization

Changed some values so that the mac version is at least
semi-functional. More work will need to be done to make the  mac
version more friendly. Some of this will have to be done by QT.

The main issue is that Mac OSX doesn't like to use the hide() function.
Mac Login Window

Made the login window stay on top so that it wouldn't get overshadowed
by the "hidden" main window