I've got to chime in. Was having the same problems with new Kodi build (17 Krypton), running on Win7- Firefox as browser.
No Malware/Trojans found and I was baffled. I was sure it couldn't be the "Use hardware acceleration when available" because it would lag and stutter even with Firefox not...