Added code for cascaded drop/line clearing.