Not-quite-working code for objects (and color!)

I fking had the pointer bullshit working then I deleted it so that I
could pull the new code and don't have backups on windows T_T