Moved most of AdvancingFront into an Web Worker. It doesn't really work. It sucks. Will revert after this commit.