Merge pull request #7 from larspalo/master

Fixed possibility of no pedal
Fixed string comparison