Added graphics thread