Fixed tracebacks triggered by wrong use of beginMessage
Merge pull request #16 from abrandl/fix_begin_message

Fixed tracebacks triggered by wrong use of beginMessage