Fixed OpenGL Rendering problem

This rendering problem, prevented windows and linux from rendering
objects, because of an uninitialized pointer.
Fixed the tab ordering and escape for the SurveyEditor

The tab ordering and pressing escape didn't work correctly with the new
version of Qt 5.3.1. I fixed the minor issues with it.