add terminateButton and modify css.