fix master behaviour on open files, converted mswo to a proper daemon