-double CursorScaleFactor;
-int PlotGridX, PlotGridY, PlotGridXdefault= 64, PlotGridYdefault= 64;
-int offline;
-
-extern pthread_mutex_t print_lock;
+double CursorScaleFactor = 1;
+int PlotGridX=0, PlotGridY=0, PlotGridXdefault= 64, PlotGridYdefault= 64, CursorCPos= 0, CursorDPos= 0;
+bool flushAfterWrite = false; //buzzy
+int GridOffset = 0;
+bool GridLocked = false;
+bool showDemod = true;