clean up timestamp handling
web: various improvements