Consolidate failure output printing. Fixes #11