Fix various bugs along the way.
A continue block might have used a temporary which existed only in the loop body.