small improvements
Spelling
Use dict for hist storage