Added option -j to program space.
Move join function back into the few programs that use it.