Redo transaction history page to correct a bunch of bugs