Changes made to support prototype build

Changes were made to support the prototype build.
Adds code for foot switch. Currently kept separate from expose button.
Not sure this is needed.
Adds support to pause and restart when expose button or foot switch are
pressed,