Changed: Improved GlobalVar handling
Changed: Table 'devicetypes' will start auto-increment at 1000, to prevent duplicate entries