cleaner error messages, split out err from process quit