fix commandline argument parsing bug
fix inadequate quoting when --block option is given
fix compile error
add more debug prints
fix basic block name