added some selective debug and a perf test.
Currently test4 runs at 200,000 ev per sec on desktop.