fix incorrectly unhooking the page action listener
free DOM elements on stop