Thanks for sharing! A lot of stuff on the list that I identified as action items for an ongoing SMF to Discourse migration project
Is your customized importer code available to the public? I would especially be interested in how you handled the two-pass import to ensure correct new links.