Added Watcher and disable buttons
Added Watcher and disable buttons
Added files to VS project.
Fixed issues with type casts.
Merge Ilya_test & master.
There are some questions about critical section.