Improved handling of search, added username search (user:username) and summary statistics.
Bug fix for stats