[98] Fixed major memory leak.

* Fixed bug that kept update button from being re-enabled.
* Fixed bug when terminating forcefully threads.