Filled out many of the rendering functions. Slowly piecing the logic together.