Minor tweaks

Fix C++11 flag.
Add exit on Escape.
Clear the window.
Make the window non-resizable.
Fix viewport for hdpi.