enable pickling of enamldef classes
undo the custom save/restore hooks - just use pickle
save/restore the dock area and items using pickle