Interesting. FWIW, the 'sessions' bug doesn't happen with mousepad, but maybe that's because mousepad doesn't seem to bother telling the sessions manager that it has an unsaved doc loaded when you log out.