Improved logging.
Corrected call to sleep.
Code cleanup.
Added day_or_night status to data output.
Pass city name to EphemerisThread.
Added philio_fix.