Fix for viewer re-init after opening a new dataset.
New data sets can be opened directly from the menu without the need to restart the viewer. @demarle
New data sets can be opened directly from the menu without the need to restart the viewer. @demarle