manage state transitions more explicitly
use constants for the reactor switch
logic rejig
use consistent indentation
memset the LED array more precisely

(Apparently this array is actually bigger than NUM_PIXELS*3??)