catch select_ugid returning no geometries in shapefile iteration #281

Added better error handling when a selection method is applied
to geometries and it returns none. The error message was made more
explicity. A try statement was also added to the interepreter to
log all unhandled exceptions to the log file, etc.