Added statistics. Minor style tweaks.