fixes a minor issue on selection and adds the ability to set custom classes and a placeholder on some elements.