First pass at trailDiv highlighting, changing trailData to a hash
Cleanup, comments, function renaming.