Makes sure we always access managed object context on main thread.
Merge pull request #1 from willyliu/master

Makes sure we always access managed object context on main thread.