On Windows an application is tied to a window. If the last window is closed the app is quit. On the Mac however application can run without any open windows.
Apparently the Mozilla folks couldn't manage to run without any windows open, that's why there is this hidden dummy window for Mozilla to run when all other windows are closed.