refactoring, using registered command for replying to state requests
Merge branch 'juggle' of github.com:crocdialer/KinskiGL into juggle