clean out exported dxfs
replace a bunch of constants with variables