Finished LightStateBuilder, added many comments.