Got some more work done

The render function currently isn't working but i am not sure why. If
you get a chance and you take a look at it any help would be greatly
apreaciated