Initial attempt, foiled by divorce.
Fix merge conflicts
Make pseudoterminal pull the tab color from the current session instead of considering the tab's current color the canonical value. Also fix a bug for when the underlying profile of a divorced session has a nil value for a key and is an overridden field.