Exploring the multifunctionality of thioflavin- and deferiprone-based molecules as acetylcholinesterase inhibitors for potential application in Alzheimer's disease.