Redirected kill output to /dev/null
Added a better way to ensure server was fully stopped
Normalized indentations in scripts(using tabs)