This looks really awesome, but i think it looks more complex than the code is. If you look at the details, you will notice, that several structures are being repeated six times. I'm pretty sure, it's rendering the same pieces of code multiple times. They are probably used in multiple places.