Part1 of DXT support

There is still some issue when switching compressed cfg settings,
though.