Still working on making dflat32 a dll. Alot of this will be cleaned up in the