Moved the fireConsoleEvent calls to the same location.
Switched to a DocumentFilter instead of a complete delegating Document.
Style changes now propogate to previously entered text