Bug fix: FPS was computed incorrectly.
Split graphics related things into LuaGraphicsHelper from LuaHelpers.