Configurable Java kill switch & improved local-settings-example