Removed unused code, added some code for BiInitOptionsCmd also that code seems to be no
longer used instead a Tcl implementation of that code is used at least on some places.
Removed some unused code.