Correctly generate human-readable display of AP-mode codes; housekeeping
Housekeeping