Pause button works fine.
I did some clean up also.