MIREA examples of threads, sockets and GUI