Made prep.'s work with Windows MySQL

The times at 500m … where not working if the mysql server is running on
a windows machine.
Also fixed the output for admin.js and removed some debug console.log