Changed: GlobalVar code improved, datatypes are more honored now