stat(2) the modtab every time pass is requested

plus some minor style changes