Partial communication with the AI and the GUI. Bugs everywhere, but its almost complete!