removed unused code
updated tw-opts for config.h (no command line flags)