Fix Memory Leak

* All: [BUG FIX] Corrected the issue that the memory usage increase continuously, if repeating to load/unload AppDomain.
* All: Move the clean-up of Log to here. For more information, see the commit log of Swathe.