added more detailed error messages to investigate reported issue with localStorage