Added setPaused()…
And other fixes in cleaning up in the destructor.