nohup was causing closing windows problems, need a better way