geteuid is a unix command, so only run when available.
cleanup of stamp_availability_on_topic logic, to avoid trying to count non-video nodes.