finalized updates upon save.  Bug fixes.  working version with tabs