It's Murphy's law that whenever I post I soon after find the solution

I managed to fix the problem by going to the Control Panel, then Programs and Features, finding Avast and selecting Uninstall.
It then loads up the menu to uninstall, modify and a few other options. I chose modify and unticked most of the boxes, as I'm sure I didnt have all those previously selected.
I did a reboot of the PC and now no high cpu and the gui opens immediately.