Merge updates from Greythane from this morning

Merge in updates from greythane this morning including: 
- WebUI Statistics page
- Transactions and purchase fixes
- User account lookup fixes