add global command pool and use built-in actions for some global commands on Mac