Preventing a loop from happening if an operation error has a format stri...

...ng in it. Also fixed error message in Extent parsing.