Rename the idle state to sleep.
Improve macro names.
Ignore .dot files.
Move common UML definitions to common.uml.