Bring back the getEvents but only call it in the case of hook debugger to be used.  Move the output buffer to the init.  Change output buffer from end and clean to just flush as we want it to print the contents, but we don't want it to remove everything.

git-svn-id: https://svn.code.sf.net/p/freeghost/code/trunk@2437 71f96598-fa45-0410-b640-bcd6f8691b32