deleted gridField.commit method.
fixed style problems.
renamed solidCommit to commit.