View the remote file using only a single ScrollBar.
Fix some potential deadlocks and memory leaks.
- use .detatch() for the thread to avoid calling to terminate() in destructor in C++11-like threads
- use recursive_mutex for the avoid deadlock when using AfxMessageBox which can call to the same handler, in the same thread and lock again the same mutex
- avoid assigning raw pointer to object which created by using new (it's not exception-safe)