bug fixes and code clean ups

-fixed notification bugs
-optimized player and removed active waiting
-changed server structure for thread safety
-disabled function to send files to the server