Correted various bugs in demo/cl3d.cpp, vglDcmtkIo.cpp, vglGdcmIo.cpp and vglImage.cpp.