Added version checking thread. Created Globals class for some static helper methods to be used in all classes, instead of being held in SerialCommunication