more progress on word histogram, bugtracking