THUMBNAIL: use DxfFile struct.

Signed-off-by: bert <bert.timmerman@xs4all.nl>
THUMBNAIL: implemented DXF_DEBUG macros.

Signed-off-by: bert <bert.timmerman@xs4all.nl>