Handle source selection.

Fixed how regions are stored in sessions.