Chrome crashing issues.

This currently fixes #93 and #95.

@ericz