Add call stack information (and more)

A more useful tool would:
  * In the log file, print the complete set of call stacks for each factory
  * Have a nicer API
  * Tolerate user error
  * Look nicer