So relevant:
Back ~4 years ago I did a similar web application as a way to bring a legacy Windows desktop to the web...I used the Guacamole project before it was brought into the ASF. It was remarkably easy to use and even modify for our business use case.