removed mode handling which was broken on Windows, improved header comments
Authored by: andy_rushton 2008-05-13
Parent: [r136]
Child: [r138]