now PLAIN should run on Windows, too
fixed db update to be compliant with the requirements