Fixed bug #141: Firefox stopped working after opening and closing a new window.