Michael Donovan:perhaps someone can answer this for me.
You did not say which State the property is located in and each State has different laws governing foreclosures it is impossible to fully answer your question. I would suggest you contact a Real Estate Attorney.
However I can answer the first question regarding the priority of liens. Just because the Condo Association foreclosed on the property and placed a lien for the amount owed does not make them the primary 1st lien holder. Liens on a residential property are prioritized by the date in which it was recorded in the County of origin records. The lien that was recorded first becomes the 1st lien holder therefore the Lender will still maintain the 1st position unless they agreed to subordinate the 1st position or by order of the Court the 1st lien holder is subordinated to the 2nd position.
When the property is sold first any Government taxes owed are paid then the 1st lien holder and if there is anything left the 2nd lien holder will get paid. If there is not enough money left over to pay the 2nd lien holder and it is allowed in your State then the 2nd lien holder could file a judgement against the owner of the property.