cleaned up comments.
Added a pre-delete method.
Change the post delete row selection so that it always selects a row.