Minor bug fixes/code readability. Added more comments too
Merge branch 'master' of https://github.com/Robspie/logfileanalyzer