More generic array fixes, move GL enums to common location in renderer
Update enums