ilastik_main: Allow lazyflow thread and ram settings to be specified via environment variables.