modified debug class to allow logging of errors and added rename_debugger(), added current datetime()
mend

modified debug class to allow logging of errors and added rename_debugger(), added current datetime()