First pass at OnLogError forward.
Don't recursively call OnLogError if we error within the forward.
Fix bug with error recursion handling.
Add OnLogError support for extension and plugin based errors.
Fix missing semicolon.
Implement OnLogMessage.
Merge branch 'logerror'
Merge branch 'logmessage'