Changed Internet Checking state timeout to 5 seconds on debug mode. 
Automatic messages are now generated more frequently. 
Minor fixes in LocationProvider and ScreenOnSensor.