Add documentation for NewGDB command. Fix source directory handling.