Work with mouse done. Added button "Stop"(Client part)