Added onscreen debug info in debug mode