Greatly improved Hal's level of intelligence.  Soon I shall I begin to clone him.  Muw ha ha.
Clean up code and took initial pass at seperating the game engine, ui and ai