X window and optimizations
X window and optimizations