typos 'calender' to 'calendar' times a million
added new and edit calendar functions