Fixed bug with invalid database folder if windows service mode
Implemented stronger checks in service proxy