refactoring with SharpDevelop 5.0; changed to the UIA logger