Moved the mux code to before the counters.
Added control FSM functionality to do the block processing.