cleanup comments + console tests; add fn to hide popover