Worked on fixing compile errors and Render stuff