Refactoring: moved function 'x_malloc' to reduce dependencies.
Refactoring: encapsulation and handling of global variables regarding NMEA log window into the class NMEALogWindow.
Removed import of unused global variables in datastream.cpp
NMEALogWindow is now a real singleton.
TTYWindow no longer operates on global variables. Size and Position are being handled fewer times, still consistent. Reduction of dependencies.
Simplify plugin localization by creating a custom cmake function
Merge pull request #50 from mariokonrad/refactor

Refactoring: use of global variables reduced for NMEA log/debug window, dependencies reduced
Correct initial visibility of layer waypoints.
Correct duplicate layer waypoint loading to RouteManagerDialog list.
Correct potential pan key runaway on long SENC creation.
Improve quilt logic regarding ENC cell inclusion criteria (FS#???)
Correct Mac Toolbar visibility on Docking (FS#976)
Correct dialog return logic.
Improve ENC error checking in non-GL mode.
Convert SingleInstance Checker to Windows only.
Avoid crash on MAC if shutdown with RMD open.
Improve serial port write logic for better thread safety.
3.3.420
Correct Windows compile warning.
Merge remote branch 'upstream/master'