New feature provided

I provided working code for improving this software.
The thread got flagged and now it’s ignored.

Please, instruct on how to add this to the main code base.
I’m open to user’s feedback as well.

Regards,
Atcold