Factored out GLKViewController boilerplate code