fixed some css flaws, added preview, and trigger via key binding, and also key assignment