SimpleViewer cleaning