Change print, netstats, peerstatus commands to return results