Fixed C++11 errors. Window now opens with good fullscreen resolution