A message is now logged if there is an exception when setting the window icon instead of just passing the exception silently.