Toggle buttons updated. Render template in edit mode should work. Drag drop problems in view mode fixed. Exit button added in view mode.