wxs-untiles

tidy up and simplify code
wxs-untiled

tidy up doc