Added sanity checks for delay
Implemented settings for forced and recommendet key change intervals.