added map support, turned off logging by default on windows