Hook up the block break event handler in main.