Edit: toss me a screen-grab of what your datacrystal.js file looks like if you can. catbox.moe works fine.
The profile thing is annoying but can be ignored, it's some stupid thing that gets stuck in certain systems because of the shitty way NW works.
I'll have to take a look at the rest of it. I'm...not even sure what A#*I even is, that doesn't ring any bells. So there's three separate issues here: does the file written have sensical fields, are the numbers being tracked right internally, and are they being written correctly?
Sorry it's 'Anal'.