FIX: calendar update function.

Update simultaneously on all clients.
refactor calendar callbacks
more refactor calendar callbacks
FIX: calendar remove function.

Remove simultaneously on all clients.
Merge branch 'gh-pages' into calendar