Do not call subprocess.Popen twice, same as my fix in the master branch.
Add Gennlxfm interface and other tweaks.