Refactoring: encapsulation and handling of global variables regarding NMEA log window into the class NMEALogWindow.