added some more degbugging flags for doc and fixed a duplicate module tag error that sometimes resulted in failed sorts for from_package_loaded