Made the translateError aesthetically pleasing

Not really all that vital a commit, but it felt good!
Improved string<-->wstring conversion

The previous methods used for converting between the two seemed to work,
but were definitely not the right way to do it.
Switched both methods to those mentioned in the answers and comments of
http://stackoverflow.com/questions/4804298/how-to-convert-wstring-into-string