Updated lyx2docx with improved command-line argument parsing and better error reporting.