Added messages warning users when some error occurs.