add .gitignore.
use set-process-query-on-exit-flag instead of process-kill-without-query.