Did some cleaning up on edittransaction.php, should close #18