Converts most parts of the game to use Pureon's new UI

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14804 3db68df2-c116-0410-a063-a993310a9797
Fix a warning in Visual Studio 2010 related to some of my recent changes.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@14805 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'