- Added routine to open JPEG
- Cleanups