Upgrade frontend toolkit

This PR includes #53, plus the necessary fixes so that the stylesheets work with the new toolkit.