Updated for sleeping at the registry.
Merge branch 'master' of https://github.com/brassmonkey/flash-examples