Made the 'add blocks' functionality optional, and refactored to put it as a first step before the main processor. Also stopped using #traverse, and started iterating through all nodes.