added gui for dict2lens