Fixed bug where ID would change on edits. Also, added some code to
delete to override netwrokonmainexception.