running game-loop callbacks in separate threads

This might improve performance