Minor cleanup of warnings and finalizer names.
Factor out OpenDataType code in to a common function.
DataType -> Datatype