Added debug and program pipeline functions.
Fixed doxygen bug.