Better type checking for thread UI type
Comments