Added history tab
minor adjustments