add smex and some modes, fix css indentation