some small changes to modeeg code, recompiled on 32 bit mac