peplus.c: moved function to driver state and removed various trampolines. (nw)