OK, thanks for the additional information.
I believe that macOS Sierra disables Adobe Flash and other plugins, due to their recent security issues. YouTube shouldn't require Flash to play HTML5 videos. You can re-enable Flash if you want by going to Safari > Preferences... > Security > Plug-in Settings... and change the settings for Adobe Flash to allow it to be used. I am not sure if the latest version of Flip4Mac will be compatible, as I haven't had it installed/used it for a couple of years now. It may just be the same settings as above for Flash. Also, disable or remove ClicktoFlash (Safari > Preferences... > Extensions) if you have it installed.
I still haven't found new information for the M key issue.
Check your settings in Mail > Preferences > Junk Mail to see if any of them changed. If Junk Mail filtering is enabled, try adding your friend's email address to your Contacts. Also, you could highlight one of their emails in the Junk folder and then click Message > Mark > Mark As Not Junk in the menu bar, which should clear their email address from the junk mail list.
C