Fixed many bugs, sd card example