Added beforeopen hook to context menu. Multiple fixes to calendar and editor. Rewrote formlayouts to allow for values refresh without re-rendering the entire form.