That’s positive progress despite the setbacks.
I think your problems really now centre on having a stable UI controller on the network. To that end…
On the Win 7 box, you might want check and ensure your running the latest Java 8 update and any other possible updates (given Win7 is now out of support by MS) possibly the reason why you are getting runtime errors with the UI controller software.
The UnifiPi controller needs to be fully patched and updated too. You may need to logon using any local credentials you used in the setup before synchronising the logon with the UI cloud credentials. You might have a sort of circular problem with this until you sort out your internet access via the USG.
Remember when swapping controllers about, you need to correctly migrate your settings from one controller to the other - to preserve all your settings and keep everything nicely in sync otherwise you are circling around on yourself. See
this vid on YT as this chap migrates his setup between controllers.
Personally for this job I like the small plug and play UI ‘appliance’ like the original UniFi Cloud Key,
still available for under £80 or the later Cloud Key Gen2+. You just plug them in and they work.