Minor refactoring; use timer query to get GPU frame time