resize and on_show now handled in windows