That's pretty much correct. Dividends are tax free (at least in the UK) and you can structure things so your corporation tax is minimised (maximising various allowances, taking a cut of VAT you charge, buying lots of equipment, etc etc).
You just need a decent accountant who understands how to play this game...