Get guides and closing windows working