Legend is working and debugged; sped up parsing of mapped patent data from Google; fixed misc bugs.