Sleep hygiene is important, and it's critically important not to drink coffee late in... well, in the second half of the day really.
A lack of sleep is also a serious risk factor for dementia.
How much of this is just chronic sleep deprivation, I wonder?