Minor changes.

changed a value from checking length to just checking if it's empty or
not.
Changed interval from 2 to 4 seconds.