isInitialized() added.
Don't update indices of plug-ins which aren't initialized (NPE fix).