Added the basic concept of DoBlocks
Added redrawing after doBlock invoked