That is correct. If you have a will, it goes to who you designate. IF you don't it goes to whoever the state designates. It doesn't just automatically go to the ATF. And yes a rightful heir gets it on a free transfer.
That person does have to fill out the paperwork and submit it to the ATF though right? Thats the way I understood it.