added debug on feature with 'o'
made debug mode a toggle