Format navigation buttons and flash notices. Attempt to add some tests.