fix #4822 and reorganize by order of importance to show errors sooner
fix #4822 and reorganize by order of importance to show errors sooner

ScottPJones/beaker-notebook,ScottPJones/beaker-notebook,ScottPJones/beaker-notebook,ScottPJones/beaker-notebook,ScottPJones/beaker-notebook