Various fixes and alterations:
fixed clicking author name on mx window
fixed permissions pager not to lose items
disabled most of the debug messages
introduced a $this->debug("message") method for future debugging usage
and other fixes
removed unused file