Fixed some compilation warnings.
Fixed client disconnecting bug. Added comments to main class.
Merge branch 'master' of https://github.com/SandakovMM/extension_project