Various minor enhancements to datepicker and datetimepicker