updated some window stuff