Removed unused on_info() function.  Added error handling for unnamed profiles