hw gpu plugin overhaul: safer threading / improved renderstates handling / background xenos render