Infinite scroll implemented, including error checking.
Put in escaping titles and fixed debug information accidentally left in.
Added filepath handling in lead.