Integrated threaded server into game logic.