Regarding the winding-down of the company, see here - and in particular the reply from Nick Dyer, who seems to know what he is talking about.
http://forums.teneric.co.uk/legal-forum/windin g-up-ltd-company-partnership-9471.html
I'm somewhat bemused about the first part to your question. If you've been dealing with your affairs of your limited company to date then you know that salary is taken out as part of Personnel Expenses, and, as an employee of the company you pay HMRC for PAYE tax and NI as you go along.
Dividends are declared out of profits.
To a certain extent you have an element of control over what you do - bearing in mind the tax advantages of the latter over the former.