Moved LogEvent creation to MessageContext.  Tidied up a few visibility issues.