'runMain' and 'runBg' macros have been added.