Improved error messages.

 - removed bogus line numbers for errors reported in try() and match()
 - rewrote printbacktrace for clarity