fixed level1 to deal more gracefully with path inputs
added --nobbr flag
generalized to run anywhere
added handling of bad dirnames
added bang