added popn hist to ratio ctx
added popn hist to nb