Optimizations in windowtools
Pointer on windowtools changed