cleaned up a bunch of little path/config bugs