Added toString() for time window
Fixed a bug in removeDatabase() for non-AVAILABLE databases