Fixed: Bug where wrong valuenum was displayed in event action editor.
Fixed: Small code cleanups.
Added: Tell user when he want's to save/exit the event editor without selecting any actions.