print logged messages in correct order (closes #47)
Merge remote-tracking branch 'origin/master'