Statistics to file and morale in gui