some SLDB changes

i think these are not too controversial changes. i find SLDB much more readable this way.