Handling window title and icon