Fixed several bugs.  Function strings should now store properly, no matter how a cell is updated.