depth of field support, cleanup g++ warning, minor bug fix in imageIO