fixed pointless loop bug; also more printing; unicode url template