Fix in error message for ParseParams
Standardizing punctuation format, added some assertions and exception handling for graph image creation