merge SD lib
Remerge SD lid to pickup changes since it was ported
Merge pull request #341 from mskoczen/SDmerge

Sd merge