added smartparens, other minor adjustments