Remove unused variable and change scope of another
Make minigrace compile files to dynamic modules when imported as a dialect