Rewrote history tab
Faster history implementation