color space fixes and memory leak plugs