Added the ping list functions.
Fixed some mistakes.