cleanup source mode, toolbar styles