Altered SelectionPanel so that it now only creates the panel when it is needed, this should make start up faster as it does not make a DB connection for each panel that it loads when the viewer is started.