Change Gate SR to 0, comment out debug traces