set the pictureformat depending on the input filepath
add freedcam as implicit app for still image capture
fix null ex on orientation change