Questions on Buying Leased Car Direct?

I purchased the car in MN (we are up here every summer for 4-5 months). I leased the vehicle up here to escape the FL Dealer Prep fees of $900,…and had the vehicle registered (with the MN dealers help) with the FL DMV.

So at the end of my Lease, it’s been recommended that I purchase the car - for the residual value - through Hyundai USA directly (rather than go back to the Dealer) and finance with a local credit union. Rationale being the Dealer may add on some additional fees - that the credit union would not.

My questions are:

1]. How I need to do to get the Title transferred from Hyundai to the MN Credit Union?

2). Will I need to pay State Tax on the purchase - and if so would it be FL (where the vehicle is registered) or MN state tax where I financed the lease purchase?