Remove superfluous anonymous functions for Bind. Disable event processing in children when OptionsDialog is Destroyed to prevent an event handler using the deleted dialog.
Add better Jpeg finding routine. It will recursively in the parent dir of the raw file. This allows by default finding jpeg files for raw files stored in a separate directory the default in CHDK.