TTLEditor.java: Added very crude and basic sanity check for user-provided TTL value