Fix XML editor formatting bug, button styles