Get the name of the application.
If set_name hasn't been called with a valid name, this returns get_prgname.
a ApplicationInfo
the application name