Changed settings and log file's location.
Also removed any Microsoft-depended attributes. Can be compiled and used with Mono.