william beach thomas