relative dates and other small improvements