Changed wait time to 5 seconds
Changed the type of db timestamps to integer
Fixed displayed time limit message