Bear,
at present do not have the time to go through it, but change of residency is required. To not pay CGT you need to become a non-resident - there are statutory and common law tests (see your accountant).
However, when you change residency this can crystalise the gain at the time of change of residency - so you don't necessarily escape the tax net.
Cheers