Update main.py

Added internet connection check, first trial at launching evince from a Linux machine (need to test) and internet connection check before enabling downloads. Need to test that stuff.