Fix state action editing issues in non-extended patches.
Fix Ammo & Keys patch key capitalization.
Fix cheats being displayed in the wrong order.
Restructure startup into App object, and add exception dialog.
Fix cheat keys being displayed instead of names.
Exit application after an exception has occurred.