Adding extra stop logic dealing with single tangelo process

Closes #302
Relaxing restart() function in order to deal with changes to --pid/--port
Merge branch 'bad-stop'