Condense some code
Handle a variable better if no parallelization

Without parallelization, TLRET would be 0 no matter what.
Reconfigure LyX after TeX Live installation

This makes it so mylyx works.