fix several bugs - add insert hyperlink functionality