AI tweaks for performance and rules

Made the AI take a move if it has one to take. This makes it work
according to the rules and speeds up decision time.