mostly cleanups

tesselation result is now independent of the order of the specified parameters,
so we do not need to calculate it twice
cleanup windows noise
clean up