Fixes:
- Terminal emulator cwd is now retrieved from the terminal's first subprocess instead of window title
- Set PWD environment variable as well as cwd, because a lot of applications use the PWD environment variable for things
Enhancements:
- Switched from os.path to pathlib
- Add --layout-only and --programs-only options to save/restore commands
- Implement deferred swallowing using xdotool to unmap and remap windows so that matching by window title can work properly
- Change the way windows are looped through when saving programs
- Update documentation (including a gif demonstrating usage)