Fix date format related issues

Synchronization/instance sharing, typos
Fix more findbugs warnings
Fix more findbugs warnings
Merge pull request #59 from ash2k/findbugs-fixes

FindBugs fixes