Re-initalize modules rather than reloading them entirely.

This prevents memory leaks through reloaded modules, and should
make reload faster. (It doesn't eliminate all memory leaks,
however.)