updates to save types, exit button, opencv updates thanks to jon and
andrew