Fixed server pinging

Also began attempts at fixing metadata.