added message log, fixes #8