beginning of gophermap handling