Cleaned up error handling
Added hex-string creation form data