rewrite safekill to use X properties instead of hacking a flag into the window class