ForagingSweeps, ailogger

added syncsquare to Foragingsweeps (untested)
added exception handling to function in ailogger