Bugs fixed: missing dependency, missing print_settings variable, popup windows not closing.
Modified wcgbrowser script to use Python 3 if it is available.