Altered pinger.pro for compatibility with QT 5
Changed function for loading hostfile, first line is now also read