That is a nice help to folks ...
However, you may wish to recheck your code ... you still have some FLAT vs the new FLATPRIORITY left in the code ...
All FLAT goes to FLATPRIORITY and all flat goes to flatpriority on the cloning ...
NOTE: I just did a quick scan of it so I am not sure if there are also some missing flatpriority vs flat left ...




