fixing up logging in GUI windows.