Fix error messages in AgChart’s get_by_xpath()
Remove err when checking for note in save file

Note is not required to be present in any save file. However,
get_by_xpath() sets err if it is not, which will never be checked for.
Code beautification in ag_chart_load_from_file()