Overhaul everything to get consistent error reports.