Processdaemon:fix compiling for Windows
further work on Charges
further work on Charges