demented brain in constant pain