I'm half-way through that. I'm tempted to completely get rid of "view_id" and use char everywhere instead (e.g., Render->actview would be char * instead of int)