Ditch total number of lines count. Fix issue #64.

Tested against 24.4.
whitespace
Show current-directory in Shell and eshell.
small optimizations
Take over dired's buffer-identification.

We will undo this if dired ever does anything special with this variable.