Small changes

changed sprintf_s to snprintf
Removed dependency of mutex to increase compatibility
Uncommented KeyboardEventSystem in SDLSys

This should enable Mingw <4.8 to compile the project.