fix some parsing errors etc. and make new HTML-based buttons with ::before work in...