adds option to NOT auto close popup. Some js hint updates