Documentation cleanups, minor optimization of setting $allow, and disable debugging...