condensed version of osirix changes to dcmtk
note: dcmnet/dulparse.cc needs some unsigned int signatures refactored back