Added comments and took out some of the unnecessary code

Found out what caused the play/pause bug: hitting 'e' still worked.