Sdcard improvements

Some small improvements for SD-Card subsystem