Early dev commit #5

- Improved array handling for menu and punish type registrations.
Sorting for the admin menu to bring more consistency. Various other
tweaks/fixes.