Optimizing Windows GUI