Refactoring prior to multiple actions per event.
Multi-action sets now working. Still to do: code generation, d&d of sets.
Further cleanup/refactoring. Added drag and drop to sets.
Added save and load. Loading of old format currently missing.
Code generation back in place.
Aesthetic improvements in state blocks.
Fixed missing empty set at end of scene.