By the way, as an option, you can also use a switch.
But in general, I meant that it will be possible to manually enter the name of the entity for which the flags will be hidden (only hiding).
For example, when building a large drawing, I do not need the flags to be displayed on the inserters, and in principle, in general, I do not need this.
But since I do not need this, but another user does, then each user simply enters the name of the entity so that the flags are not displayed. That is, everyone makes settings for themselves, which is very convenient.
As for the other question, I have already figured out the code a little, and simply reduced the check mark itself, in principle, this is also normal, and I have already gotten used to it :)
https://drive.google.com/file/d/1K9RA5WnYuzjdHFAvNSZd09O8bAncbF76/view?usp=sharing
Or this option, you can simply add a setting that will change the size of the check mark (offset, color), which will also be convenient for users.