changed image lib and xorg plugin