HTML: made all small links to support options, improved initialization code