Releasing camera object properly (some things needed to be done with surfaceview, too).
Added simple dialog.