Fix bug in (guile-wm tiling) when unselected window gets unmapped,
large-scale refactor to get rid of duplicated logic
Fix a bug where unknown X errors crashed the WM