Fixed up the minimise() method to use the target function framework properly.
Authored by: bugman 2008-01-08
Parent: [r4498]
Child: [r4500]