Fixed grid color socket. Added jpg/bmp support.