I blended the onions in once I added the stock to get a smooth consistency.
I also tried swapping out the curry powder and flour with store bought curry roux and worked a charm!
I added a dessert spoon each of the soy sauce and sugar as felt it needed a touch more.