Adding some stuff from CodeChickenLib to use for some rendering.