added a toggle dev_mode option (grave button)