Last time I ever code anything with Javascript callbacks. Fuck that, that is what threads are for.
Cleaned up test files, about to test on self.