fixing the example and adding LastPing() to the Tomahawk interface