Merged trunk changes 730-765 into the new-backend branch.
Authored by: delphidabbler 2010-05-26
Parent: [r767]
Child: [r769]