Adding .idea/ to .gitignore
Fix stop() and restart() for debian family OSs