Broken implementation of item editing

Non-functional version of the editing code. Almost there though, I
think.
Still can't implement options.

Can’t figure out how to get the options working properly including
toggling the display property and making the buttons actionable.