Added prev button + debugging

Added a previous button, plus the ability to disable a button on a per
step basis. Noticed an apparent +1 error inherent in the application and
so added debuging console.logs throughout :)