I have created also a thread in powershell.org asking for help but was directed in your great community in order to get help. For reference the link is https://powershell.org/forums/topic/gui-runspaces-poshrsjob-module/ and tried to copy it here also for convenience but unfortunately it is too large so you should check in the above link for details.
The code may seem that it a LOT of code but it is just a gui containing two "special" buttons that support background jobs which are embedded in powershell studio.The purpose is to use PoshRSJob instead of background jobs.
Thank you in advance