Reduce dependencies in glowwindow