[sr-dev] git:master:f3454dd9: core: renamed global is_main to _ksr_is_main