refresh cabal packages view when installing
defensive
close on processes on clean and shutdown