wip optional args
Some permutation stuff fixes, more tests
New selectors stuff