Improved Debug Mode, can turn it on and off