Pastanalyzing: plot ap climbing chart, fixed some heavy bugs in pastanalyzing as well as in OCR and entry adding, changed version to 1.5, code cleaning

Pastanalyzing: plot ap climbing chart, fixed some heavy bugs in pastanalyzing as well as in OCR and entry adding, changed version to 1.5, code cleaning.