removing obsolete code from layerswapperthread
added no data layer...but i don't like it.