took out some debugging output.  added stack trace when we have a refLookup fail