changed empty DEFSHOME behaviour, added -t option to force target, minor changes