Fixed adding to DB crash with blank fields.
Couple UI fixes.