Embedded logger implementation. Added context menu, plain/raw text and expand/collapse.