replaced all stack trace prints by compact Debug.error messages