Added more error handling
Added support for depth images