Further optimized drawing. Made sure to only render each object only once. Fixed flickering of buttons and shadows being to dark in places.