better printStack()
fix for module system bug: wasDefined means module body and module
requirements were encountered
this hopefully fixes cache reloads