Made AI settings more user-friendly

Added a popup menu with AI settings.