Added some reasonable stdio player. Added hooks for better display. Fixed a bug in the basic AI player.