pvt: lab2 added one thread support
sibsutis: last fixes