Minor beauty inprovements, optimalisation and CONSOLE WINDOW OFF