Move some in-game client stuff into xa.