Bring XNA port up to date

Will need to manually fix a few things.