Added history database; Added traffic layer toggle