rearchitect to use web workers
add notes
remove some comments
add linking and history