Swapped global into Ludeo, changed debugmode to be a member of GLOBAL.