fix modes, part1
optim: no double profile loading
set vim the default editor
add smoe path to excludes perms
Improvments to reset_perms:

    - py3k compat
    - regex support for excluded paths
    - debug switch