Merge changes I95328c6b,I109cead7,I82b5a778,I352a3213

* changes:
  More random optimzations to make things go faster
  Don't compare configs during layout
  Get rid of some ancient logic around layouting invisible windows
  Window Manager spring cleaning