Bugfix: subscriber-thread now gets callbacks after waiting for message queue.
Refactoring: improved readabiltiy of subscriber-thread, as suggested by Lorenz.
Merge pull request #15 from jannikb/master

Bugfix: subscriber-thread now gets callbacks after waiting for message q...