make ctrl-c work
make ctrl-c during password dialog work
remove unused import