Encounter Helper error

Firefox, 2014 Character Sheet, Jumpgate, EncounterHelper 1.2.2

I really enjoy the API Script EncounterHelper and use it a lot but…

When I use Encounter Helper and select the reset button it crashes my sandbox and so I don’t use that feature.

For reference, the error message generated was: ReferenceError:
thisObj is not defined
ReferenceError: thisObj is not defined
    at
apiscript.js:41913:21
    at Array.forEach
(<anonymous>)
    at resetEncounter
(apiscript.js:41905:22)
    at
apiscript.js:41516:45
    at eval (eval at
<anonymous> (/home/node/d20-api-server/api.js:181:1),
<anonymous>:65:16)
    at Object.publish
(eval at <anonymous> (/home/node/d20-api-server/api.js:181:1),
<anonymous>:70:8)
    at
/home/node/d20-api-server/api.js:1859:12
    at
/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560
    at hc
(/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147)
    at Kd
(/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546)
 

Also, there are some other improvements I would like to see:

  1.          Whichever page the GM is on should automatically be set to the Active Page
  2.       There should be a way to remove individual tokens from an encounter. Currently If I happen to add a token the wrong encounter the only way I know of to remove it is to delete the entire encounter and rebuild it.
  3.           Encounter Helper should be Transmogrifer friendly, that is I would like to set up some encounters on a page in test campaign and then use the Transmogrifer to copy it along with the page to my active campaign. (This may require the use of something other than character ids.)
  4.       I think that the Help could be a little clearer.

      I love the script but think it could be better.