This reverts commit 4c505e7030f2f0b7dab9c51125ac45cf3c28adb1. Reverting this for the time being due to issues with quakelive. This will be more thoroughly tested and hopefully added again.