Remove unnecessary code. Add docs. Fix :resizable bug.