minor bug fixes for the editor toolbar