Form fields, case view updates

Many code edits, edits in way things are done and new form fields. Case
view updated.