improved memory management for photo effects, progress on editing