strip bad whitespace

very slow, would be way better if it could be done with filter-index
add experimental and optional spkgs as well