Shared web worker implementation

Mostly fixes #17, though dead window detection still needs to be
implemented for the shared web worker.

Version 0.0.3