removed stray code
on.exit now cleared later than before
unitize now working with search path manip

only in simplest test cases, but intial bugs fixed
for now