added collisions to thread while game loop