Fixed a lot of bugs but still won't render :/