Fixed some warnings
Photo capture works