Avoid an infinite loop with trace exceptions
Avoid more potential infinite loops
Merge branch 'fix-infinite-loop' of https://github.com/ricochet1k/livecode into bugfix-infinite_loops
Merge branch 'bugfix-infinite_loops' into develop