Corrected LD30 bugs and typos.