Fixed dead-lock when closing tunnels.
Removed unused codes.
Fixed delayed remove pattern to avoid dead-locks.
Upgraded to Visual Studio 2013.
Changed to use std::make_unique() to create unique_ptr instances.