Added code so that buffer data is not set to 0 when effect is None,None

Added code so that protect cell in grid will protect the cell you right
click on and not the cell under the cursor (the yellow cell)

Added code so that state is not reset when you start a row with no string.