improve ping messages; make AllSky340.py more usable from command-line