Added write input parameters and initial settings to text file; added basic error handling to forage_utils.