tweaking message trimming code, closes #101
Merge branch 'master' of github.com:nprapps/shelf-life