Change system options a bit:
 - Move turning options to Advanced settings;
 - Add more debug options to System menu:
   * Log touch events: send all touch-related events to the log.
   * Fake events: enable or disable fake mouseUp events if you're getting stuck buttons
   * Force GL mode: forces RGB565 mode, should fix red tinted screens.
 - Enable writing logs to file.
Fix building with MSVS2013