The invention provides compounds of formula I:wherein A, B, D, E, R1, R2, R3, R4, R5, X, and ----- have any values defined herein, as well as salts thereof. The compounds have activity as G-quadruplex DNA stabilizers and as anti-proliferative agents.