added a model to settings and fixed some stylus syntax bugs