*removed debug output and implemented check that Jonathan suggested
*replaced old pd bash completion script with pd-l2ork's