Fix day name in safari.
Fix selecting active tab by date.
Merge pull request #17 from kevinburg/fix

Various bug fixes.