Statistics

Statistics graph and other minor cleanups in the main url.py file.