Removed 'ping' and check state of connection a bit differently using /sys and checking for default route.
Fixed a missing "exit"
Changed "firefox" to use exo-open instead
Removed '/home/`whomai`' for $HOME
Merge pull request #3 from flamusdiu/change-file-checks

Change file checks