Clean up db, start going through smarty files decapping vars.