small logic change for registerSounds & removeSounds handling of manifest.path