Use sid_t consistently, tweak command output