Commented code in threads and WifiDirect poritions of project.