some refactoring in KRunProgram to help fixing argument quoting
fix argument quoting in dry run
fix arg printing in proc