Finish action meta + repair dNPCRegistry errors

And fix some stuff IntelliJ pointed out