Quick fix for #91

XHR code in config_bridges.html expected JSON.
A bit inconsistent to only return JSON in this handler.
Move player handling to the queue

and some more refactoring