Fixed the update->delete bug
Fixed the update->delete bug

Basically the way things were made sometimes update would render a row
deleted. (If the program stopped before the new row was written) Now I
have added a "stage_delete" status which indicates that a row should be
deleted after the insert.

What isn't done yet is recovery from "stage_delete".

Also: added more error checking.

IamBc/dbengine