GUIDemo3 | center window on screen and add close() method