Remove YTURL block, move remaining code to __main__ block
Remove semi-useless "live" tests