libxrdp: remove a global, remove some tabs