minor changes in history calendar
add support for calendar download, improve UI