Clean up formatting and remove buttons.