Added istld() and isnewtld() functions, with supporting command-line switches.