Protect writePluginUpdate against ActiveVessel being null.