improved error msg when querying localhost
draw loading widget when fetching shortened link