The idea that the mind and body are separate entities (or "substances" in Tonymai's terminology) is old and deeply ingrained in human thinking. We instinctively feel that the mind can exist independently of the brain, even though we have solid evidence that it cannot. We do not need MRI scanners to prove this. Even the ancients had enough evidence to figure that out. When you drink alcohol or sustain a head injury, your thought patterns can change suddenly and radically. In other words, changing the physical state of the brain changes mental processes. That fact is incontrovertible and obvious. On the other hand, there is no reliable evidence that mental function persists after serious brain injuries or death. The most straightforward explanation of that is that, contrary to Tonymai's claim, the brain does generate thoughts.
Notice that you do not have to give up philosophical dualism when you make the observation that minds (thought processes) depend on physical brain activities. Minds are not brains. What you give up is the unsupported idea that mental function naturally occurs independently of physical brain activity. That is, you take minds as "embodied". Religious belief, in most cases, depends crucially on the unwarranted assumption that disembodied minds can and do exist. There is no good reason to believe that.
Human consciousness is a mind activity. It certainly depends on the normal function
of brain. However, we can not claim all mind functions are determined by brain, or physical reality. Nor we can claim there is no evidence of mind activities after brain death. We simply do not have material instruments to detect mind activities without normal functioning brain. We have to admit our inability, or we claim mind activity beyond death can not be proved by science.
Since mind function is alive, only a living instrument can really detect its activities. Current science can not do anything here because it only trust mathematically determinant dead instruments. How can a machine become conscious of its builder who is conscious? Only if the builder can endow the machine with consciousness.
There are three types of consciousnesses in human mind: consciousness of material substance, consciousness of consciousness (thought substance), and consciousness of spiritual substance. It is a triune reality, not dualism, nor monism.
In a crude way, material substance is subject to precise laws (facts), and is coarser than thought substance which is subject to choice based upon its interaction with spiritual substance and material substance. Spiritual substance is also subject to precise laws (Truth), and is finer than thought substance. So mind is the most unpredictable of all. Physical system subordinate, mind system coordinate, spirit system directive.