fixes async wire
Merge remote-tracking branch 'northern-bites/master'
Merge remote-tracking branch 'nbites/master' into overhaul-jointenactor
minimized the copying in the PF
Removed some old code.
Broke up the resample method into a few submethods (we think a segfault may occur there) and merged Octavian's changes regarding copying.