Added export() and resetView(). Used hash to store cameras and colorBy functions