Rework menu code to make it cleaner
Strip down menu helper functions down to just one essential and remove 'unchecking' for radio groups, as they are actually smart enough to handle that themselves.
Includes some random menu fixes and code reordering.