UI and AI

Knights AI and gui changes