Fix warnings and errors in stealth.