reverted bad merge with threading from old monogame fork.