fix long lines
use lexical closures where needed

also make the gist-list buffer profile-specific
make gist-list-format customizable