Create GlobalVar with initialization mostly working.