Maybe your wireless drivers are out of date. You might consider plugging into ethernet temporarily and updating those drivers to see if it resolves the issue.
Yeah definitely try cleaning the keyboard before replacing the entire thing. Sometimes if there are just crumbs caught in the space you can blow it out with a can of compressed air.