More updates.
Add the option to use local Qless instead of master.
Try to work around bizarre Python scoping rules.