Completely reimplemented the ParseMode class. Now the main datastructure is a map<string,action> where the possible error situations are the keys. This approach allows for a much more flexible setting/filtering/querying of the ParseMode settings.