Adding pause and resume functions

I added pause and resume so that later buttons could be added if someone decided they wanted to keep a color around.