Prevent edit/delete of transactions where appropriate (Fixes #31, Fixes #32)