add osx 10.6 support

fixed some issues after testing on osx 10.6.8
added distortion ;  fixed chordify