Fix crashes related to sdb
Fix #1245 ? i cant reproduce it so.. im blindy guessing
Fix 'ls'
avoid git bitching around