Improved ArtNet detection and fixed error handling