Optimize GUI rendering, rename variables