Various bug fixes for game thread generation and updates.