Examples: clean up source

Removed unused imports, unnecessary exception declarations, unnecessary
ImageJ launching, etc...