Use dvid.Error() for internal errors.
Add surface to labelmap.  Refactoring.