Dynamical integrity and control of nonlinear mechanical oscillators