Fixed appcache and added past events feature.