Restricted OpenGL to core profile
Added buttons for draw switching