libdpx: some memleak fixes from valgrind
libdpx: move free to after int comparison
libdpx: if peer is closed, then just break.
libdpx: begin restructuring for dpx_frame c'ifying

[there is a bug in alchan & unsigned longs; investigate]
libdpx: formatting
libdpx: fix alchan ul sending, make unit test
libdpx: attempt to fix issues with free'ing
libdpx: add locks to alchan
libdpx: remove rcond from alchan, exposes unusual race condition
libdpx: yield after close so cleanup can occur

otherwise mem corruption will happen
libdpx: yield after peer close as well for cleanup.
libdpx: fix peer bind variable access after mem free