Finished the GUI to allow editing without XML

Work still to be done:
Integration tests with AI
Drag and Drop/Reordering
AI restricted use
Camel-case var names for JavaScript, please :)