fix fullscreen errors;
fix sound errors;
add some debug data