handle interrupt in address generation
kill actors and btcd in error cases
handle interrupt in mining
use SIGINT instead of killing process
func to exit btcd process
move process exit code to a func
send close signal to actors, wait in main
use actor quit channel instead of com.stop
move waitgroup to Actor