Delete modelviewer on shutdown