Improvements in to_s methods for exceptions