Fixed whitespaces in run.sh
Added configurable kill switch for JAVA on remote machines. Added example remote and local config to local-settings-example.