Modified some of the constants and the pause and single step functions.