Make fstructs support gen:dict.
Update the rest of the codebase to use dict fstructs.
Add Esc and Ctrl-RET to close editor windows.