messaging state per-window - no use of local storage