Fixed error deleting boxes, and changed load functionality.