Take out template mess in vdc.cpp - optimize for 16bpp