put mode name and stuff in lpinfo, changed a lot of structures around. However, left some harmless loose ends in terms of psi and lp filenames in run