External feedback control of a noncontact AFM and its effects on global dynamics