Fixes and refactorings.
Fixed a performance issue which arose when refactoring the WordNetLookup base class to contain some shared code which had previousl been static.
Refactored the Output logging class for brevity. Added a method which allows the Ouput class to be bound to an arbitrary TextWriter object.
Display and formatting fixes
Fixed an html id generation issue which caused modal results dialogs to fail to display when their document's name contained certain characters. Fixed the formatting of the adverbial modifiers collection when being rendered by ToString in verbose mode.