handle 'error' event on spawn
more minor firefox fixes
0.3.1