Consolidated syntax error pretty print into needs(), added exception printing.