added untestet xml level loading.
also fixed global vars instance. didnt notice that the file wasnt upto date