Fix a couple of E_NOTICE bugs and correctly record the resulting transaction ID from F2C.