WIP
Fix recursive event handlers.
Editor stuff
For EdinburghJS