minor mods to the interval checking
marrasputki UI