finished AI player, made a few other assorted changes