Added GWindow
Separated Graphic from logic
Now exception will cause application shutdown