base.coffee is growing. Separate history handling into a class, HistoryHandler of StateHandler e.g.