Catch ValueError for config file parsing, change up some code to print errors where needed.