Needed a debug point for a problem - but the new code's a bit cleaner too.
Authored by: sms00 2004-12-23
Parent: [r2556]
Child: [r2558]