Implemented QuickGlobalStateMachine singleton QML item. Note: compiles, but untested.