posva/catimg

#1 — null pointer risks cluster

#2 — terminal image rendering support cluster