some tidyups. also improvements to player history