- DockWidgets inherit from base class and implement the interface
- Move setup/refresh code from MainWindow to widgets
- Remove unused/uneeded members
- Use helper functions
- Fix compiler/cppcheck warnings
- Cleanup headers
* Fixed a lot of warnings and removed waste code
* Fixed more warnings and removed more waste code
* restore XrefsDialog::updateLabels
This function is used in memorywidget.cpp