Fixed out of mem error and EPSG codes

Fixed out of memory error, the photo iteration sub now correctly
disposes of bitmaps after use and so (hopefully) stops the out of memory
error after 30+ photos.  Also fixed the detection of EPSG codes to set
the correct table coordinate system if a local crs is chosen.  Minor
changes to dlg layout to allow resizing to maximize crs picker.