Fix some windows bug, better messages for the graphics window