Added sleep command proper
disableControl now optionally takes an event
waitFor is now deprecated and calls sleep and disableCommand
noActions takes on the abilities of that new unnecessary event
Thread sleeps are handled by commands returning triggers which calling queues pick up; commands no longer need to know their calling queue
Included @threonin's changes where applicable
Commands can now make "call-backs" to their parent queue by returning a value, which is interpreted for them (currently assumed to just be a trigger to sleep on).
Added sleep command proper disableControl now optionally takes an event waitFor is now deprecated and calls sleep and disableCommand noActions takes on the abilities of that new unnecessary event
Thread sleeps are handled by commands returning triggers which calling queues pick up; commands no longer need to know their calling queue
Included @threonin's changes where applicable
Commands can now make "call-backs" to their parent queue by returning a value, which is interpreted for them (currently assumed to just be a trigger to sleep on).