Updated and added some stuff for GWT/GDX