Upgraded to use domino for all the processing - reduces a lot of code and seems to be pretty reliable so far, but will likely be missing some DOM apis