Updated error parsing, cmake file and general comments