Added a new parameter, and fixes small bugs
The project is in some way finished, perhaps some fixes remain. I think that it is more convenient when the program does not occupy the tray, because there is usually a lot of things there. But perhaps in the future there will be a repository with the addition of a tray and a graphical interface