Added the channel free functions.
Added a Makefile directive for building a debug build.