fixed target value check, when target is near max/min value. fixes #17
firing timer instantly after creation

Important especially for big timeIntervals with small changes. Like 2s
for 1>2. This should have an effect instantly. Also timing is more
accurate like this.
Merge branch 'develop'