[firefox] tabs is not an array
only supports "for tab in tabs"-style iteration
[firefox] fixed nullpointer, document.location can be null apparently
[firefox] worker.tab is already removed when detach is fired
[firefox] small Makefile fixes