Interface update: You can override objects now.

-I forgot to send the actual vector containing the rayobjects, and
instead sent a copy of it, thus I got a bunch of errors earlier. (Fixed
this)
-I'm not sure, but can you override a light object with a sphere object?
if so, the loop is going to look a lot more complicated.