Clean up camera API, fix logging, fix arguments