fixed Issue #9

adds debug/set_debug
adds pad_seq_ends
clean up comments