Changed gErrors to acousticErrors, fixed some bugs when writing zip file