Understanding the GRE
How Mozilla works
nAt startup, Mozilla calls GRE_Startup() to
–Find a GRE installation.
–Load the XPCOM library.
nAt shutdown, Mozilla calls GRE_Shutdown() to clean up.