a number of cleanups, the most critical probably in ui_RegistrationView.cpp:403 setupParentUIMenu, where a variable was accessed before initialisation