Better error messages.

Main change is the addition of the line numbers to the error messages as they were not very useful without it.