Adds basic render functionality and fixes bug with null keys in arr_set