Wifi and graphics issues after software update

I managed to solve both issues with the answer to this post. I really have no clue how the network settings could affect the graphics, but I have no other explanation. These were the steps I followed:

  1. Run sudo service network-manager restart to get the WiFi back temporarily.

  2. Go to the Network icon in the top panel, choose Connection Information. Note what driver name is being used for the wireless connection.

  3. In terminal, run sudo gedit /etc/modules and add that driver name to the bottom of the file (in my case it is iwlwifi). Save the file and quit gedit.

  4. Reboot the computer, it should now be working.