Changed main game to incorporate a load dialog for ai files.