Fix minor UX bugs, some of which also allowed for inserting invalid contents on certain fields.