reimplemented _xlwindows._get_latest_app