optimise CreateRecord
check individual field for add/edit flags in GetCell
some isset checks and stop specifying reference on getinstance