NPE fix and reset position on every command
more accurate emulation of the SD controller