Bug history buffer owerflow

work now
Merge pull request #5 from iz56/feature

Bug history buffer owerflow