Move image drawing code to a new routine.
Mark fallback images by TERM_LAYER_BEGIN_IMAGE and TERM_LAYER_END_IMAGE
windows terminal variant using GDI+ only