minor tidying up of window_move
Added daemon option to .._sockets