Add API to set logo in dialog and as window icon