Fixed action history, it really should be faster now.