Allow user to use their chosen WINEPREFIX for each bridge

Additionally, I cleaned up and secured templating a bit.

@abique, I'm not quite sure about your branching, but `xembed` is chosen as the main one, so I'm submitting this PR onto `xembed`.

@abique, please review and merge.