Enable clicking on metadata values.

Add metadata save functionality.

Enable editing of metadata on EditFlow calendar.

Fixed term type issues.

Some extra code snuck in there.

Fix some issues with overwriting other code.