Debug programs, and fix some bugs.