Cleans up some styles. Adds "Required" checkbox to type editing form