Two improvements: AUTODOC_OutputTextFile, revise hooking into package loading