Fix double click on tx history and clean up a bit
Rename OK to Close in tx dialog and clean up more
Add limit of 50 historical transactions as unsure of performance
fix build errors