Imrpoved rendering performance a bit by reducing calls to 'expensive' functions like map accessors. Also re-added sort objects after add to increase render performance.