Solved disconnect issue by changing for loop for iterator for safly removing disconnected threads. changed pan to HTML for stylish output.
Merge branch 'master' of https://github.com/Zdrenka/Chat