Window settings + controls eventhandling