More debug lines and spelling corrections