Cleanup
Store a message with an error
Split out error display code