Merge pull request #4 from bjornstar/master

0.2.0: Now we only set last when the value drops below the max.
0.2.1: Bump events version to 0.1.2
0.2.2: Fixed an issue where last was not kept up to date when the value was set below max