posva/catimg

#1 — terminal image orientation support cluster

#2 — null pointer dereference, unused parameter warning cluster