basic pep8 cleaning.
move conditions in find_sockfile to avoid double checking on 'display'
when it's not needed.
still pep8 clean
pep8++
typo
change from bullet list to enumerate list.
more pertinent imo since we have a 'GOTO 1'.
long if-statements re-aligned
fix _dirGroup()
fix 4 space idents
code reducing thanks to xarvh
No need to check if 'r' is None (already checked in _items() and more
explicit names for r (thanks xarvh).

About the '\' I guess it depends on the style.
Line is 79 chars
more pythonesc loop
re-identation
re-ident and more pythonesc loop
pep8++
formatting string output
basic pep8
small refacto
pep8 imports
pep8++