a few fixes, also organizes DEMENTED Mods and adds headers