hierarchical printing of errors and suberrors; added tests for length of authority group of statement