Code cleanup
Safeguarded redstone torch ticking.