added learning button, not functional yet
basic learning mode page that just links to random play
replaced dumb callback generator functions with function.bind