Improve error handling. Improve exposure handling.