Removed/disabled debugging statements, modified some comments, and improved error reporting
if the pad isn't added due to a recorded error.