major code refactor, adding error handling and configurations for screen reader status box