Improve error handling by rolling back a transaction that failed w/ an error,
so the app can go on and do something else.
Style fixes to please the new IDE version's checks.
Fix bug where when finished adding entries to subgroups, it exits out
too far in the menus.