Added pause button and show trace toggle