Properly name pgsolver generated files
Limit SWP to acceptable sizes