Lock solver when editing blocks

As a workaround, you may detect whether Rhino is in block edit mode and prevent component from running.