1. -Remove useless function ResetComponentContainer
2. -Call Uninitialize before close file.