Adding invitations, messages, debug, data-mocking and other minor changes

Hi,

I think you might be interested by my additions to your great work. I hope merging won't be too hard and it's important for you to know that I only merged with your master branch, no other branch has been looked at.
Please tell me if problems occur.