Dev

Fixed a couple calls to render state that did not have an array passed as the third argument.(Which caused some undefined issues)