Another suggestion: don't make the patent office budget dependent on the number of patents they process. Or have them hire people more experienced than just-graduated undergrads.
The daughter of a friend worked for the Patent Office, she had a PhD in physics. The patent office was paying to put her through school to get a law degree, as well, as though there weren't enough lawyers working for the gov't.