- Patch #592008 by moshe weitzman, David_Rothstein, chx: don't save theme registry before modules are included.