Plywood db saving fixes and deleting fixes.