getoptx

some tinkering

alot more

comments
some more
more doc