Fix validation in many cases, and ensure that the notification bar pops up correctly.
Fix many validation bugs and failing tests.