Added edit ability for transactions (needs  a bit more work)

Also fixed a couple of problems with a date as suggested by FindBugs,
added some sporadic javadocs