Debugging: added toogle to show/hide debug information