Sql Error Box

Hi Joe,

This is my very first pull request. Here is the change to incorporate a better SQL error feedback to the user when a script fails in the SQL module.

Best,

Peter