ported much of the logic from javascript into python
ported much of the logic from javascript into python

kytvi2p/torbrowser-launcher,pde/torbrowser-launcher,pde/torbrowser-launcher,kytvi2p/torbrowser-launcher