Improved ToString() for better debugging. Improved error message.