Smart scrolling for history, add db functions
Fix my blunder with the gender tags