Properly get rid of null string reference, without compromising TabletUI.