Fixed bugs.

- Added /EHsc flag for compile for handling exceptions in CMakeLists.txt
- extracommands bar was remaining active in case of "could not connect". Fixed that. 
- modified "Are you sure message".Also it shows only when connected.
- fixed http redirection
- added disconnect button on the right
- removed ctrl+c and ctrl+v from webpage and from code logic.