LIVEOAK-47: Scripting bug fixes, better error handling support, better c...

...lient support.