move @icon statements, and fix the class inheritance fed to `add_custom_type()` being wrong for StateMachineDebugger