A slight tweak for bug #8333.  It now erases everything in the object before loading it again.
Work on bug #8088.  Apply now fully works.