terminate network in dc_term to avoid static init order issues osx: call dc_term before exit osx: exit app when exit button is pressed (dc_exit) osx: ignore -NSDoc... app args
do second net sync when comm board is reset close menu/cancel loading when pressing menu button