Update window style and events