Added method to add runnables to the GLThread