date search support added, fixed some search and display bugs