Change to marked_entry when iterating over marked panes. Clean up debug statements