Wizards - fix bug in error handling code
Fix issue with script parser

* In the routine that removed outer parenthesis, was assuming
  a list object, but sometimes it would get a tuple.

Fixes #126
Merge branch 'lojack-issue-126' into dev