Add abort() to NextNormalWindow function