a toggle button for debug among other things