Some work on the new module pop up box. Added destructor to ModuleManager to clean up temporary files.