improvements in DatabaseViewer