Destroy window manager rather than just stopping it when unloading plugin
