MOD: code reordering in order to increase readability
MOD: code reordering in order to increase readability

cbeck88/cegui-mirror,RealityFactory/CEGUI,cbeck88/cegui-mirror,RealityFactory/CEGUI,cbeck88/cegui-mirror,RealityFactory/CEGUI,cbeck88/cegui-mirror,cbeck88/cegui-mirror,RealityFactory/CEGUI,RealityFactory/CEGUI