statistics glyphicons added. minor refactoring