Added filtering of Standby and Home Screen states, increased history
length.