autostart-in-repl
Fixed plot closing on application termination, addition of destroy hooks