strip spaces, add optional skim skipping
cleanup