cRedstoneSimulator.cpp style improvements