Rewrote handling of window groups;
Changed saving session to save only one command for each window group (with --sm-client-id)
Fixed pointer placement to obey avoid cover