remove more mysql stuff. nhit page uses new histogram. add tools.py.