Fixed some error messages.

Stable Version 0.5.2.