code cleanup and removing calls to Gbl.getConfig()
Authored by: mrieser 2010-09-22
Parent: [r12705]
Child: [r12707]