Add settings and history pages; improve design