Added bg to xray, added doctype and check for full screen